home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Help / locale / help / english / sys / changetaskpri.doc < prev    next >
Encoding:
Text File  |  2000-10-06  |  1.0 KB  |  37 lines

  1. CHANGETASKPRI
  2.  
  3. Changes the priority of a currently running process.
  4.  
  5. Format
  6.  
  7. CHANGETASKPRI <priority> [PROCESS <process number>]
  8.  
  9. Template
  10.  
  11. PRI=PRIORITY/A/N,PROCESS/K/N
  12.  
  13. Location
  14.  
  15. C:
  16.  
  17. CHANGETASKPRI changes the priority of the specified Shell process. If no
  18. process is specified, the current Shell process is assumed. Any shell process
  19. started from <process number> inherits its priority.
  20.  
  21. Use the STATUS command to display the current process numbers.
  22.  
  23. The range of acceptable values for <priority> is the integers from -128 to
  24. 127, with higher values yielding a higher priority (a greater proportion of
  25. CPU time is allocated). However, do not enter values above +10 to avoid
  26. disrupting important system tasks.
  27.  
  28. Example:
  29.  
  30. 1> CHANGETASKPRI 4 Process 2
  31.  
  32. The priority of Process 2 is changed to 4. Any shell process started from
  33. this Shell also has a priority of 4. They have priority over any other user
  34. tasks created without using CHANGETASKPRI (those tasks have a priority of 0).
  35.  
  36. See also: STATUS. For another example for using CHANGETASKPRI, see Chapter 8.
  37.